package org.zanpu.metadataserver.core.bpm.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by MD on 2016/10/26.
 */
@Repository
public interface BpmDao {
    List<Map<String, Object>> query(@Param("sql") String sql);

    List<String> queryTable();

    List<Map<String, Object>> queryColumns(@Param("table") String table);

    int update(@Param("sql") String sql);
}
